package com.wsc.juc_001.c_002;

public class Synchronized_this {
    public int count = 10;

    public void m(){
        synchronized (this){
            count--;
            System.out.println(Thread.currentThread().getName()+"count = "+count);
        }
    }
}
